﻿using Common.Communal;
using ERP.Domain.System;
using MediatR;
using System.DTO;

namespace System.Api.Read.Applications.Commands.Posts
{
    /// <summary>
    /// 岗位查询命令
    /// </summary>
    public class PostQueryCommand:IRequest<ApiResult<ApiPaging<PostDTO>>>
    {
        /// <summary>
        /// 岗位名称/编号
        /// </summary>
        public string? PostNameNo { get; set; }
        /// <summary>
        /// 组织机构编号
        /// </summary>
        public string? OrganizeNo { get; set; }
        /// <summary>
        /// 页码
        /// </summary>
        public int Index { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int Size { get; set; }
    }
}
